package com.gourd;

import com.alicp.jetcache.anno.config.EnableCreateCacheAnnotation;
import com.alicp.jetcache.anno.config.EnableMethodCache;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @author gourd
 * @date 2018-11-20
 */
@Configuration
@ComponentScan
@EnableTransactionManagement
@EnableSwagger2
@EnableMethodCache(basePackages = "com.gourd")
@MapperScan("com.gourd.web.*.dao")
@EnableCreateCacheAnnotation
@EnableScheduling
public class WebConfiguration {

}
